package com.ruoyi.project.modules.interfaceModel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接口模式统计对象 t_interface_model
 * 
 * @author smallrain
 * @date 2022-06-11
 */
public class InterfaceModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 接口id */
    @Excel(name = "接口id")
    private Long interfaceId;

    /** 模式中文 */
    @Excel(name = "模式中文")
    private String modelName;

    /** 模式英文 */
    @Excel(name = "模式英文")
    private String modelEnName;

    /** 模式类型（1-字段模式，2-自定义模式，3-中文别名，4-英文别名，5-其它模式，6-是否允许为空，7-接口模式） */
    @Excel(name = "模式类型", readConverterExp = "1=-字段模式，2-自定义模式，3-中文别名，4-英文别名，5-其它模式，6-是否允许为空，7-接口模式")
    private String modelType;

    private String isInParam;

    public String getIsInParam() {
        return isInParam;
    }

    public void setIsInParam(String isInParam) {
        this.isInParam = isInParam;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInterfaceId(Long interfaceId) 
    {
        this.interfaceId = interfaceId;
    }

    public Long getInterfaceId() 
    {
        return interfaceId;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setModelEnName(String modelEnName) 
    {
        this.modelEnName = modelEnName;
    }

    public String getModelEnName() 
    {
        return modelEnName;
    }
    public void setModelType(String modelType) 
    {
        this.modelType = modelType;
    }

    public String getModelType() 
    {
        return modelType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("interfaceId", getInterfaceId())
            .append("modelName", getModelName())
            .append("modelEnName", getModelEnName())
            .append("modelType", getModelType())
            .toString();
    }
}